home *** CD-ROM | disk | FTP | other *** search
- Path: rain.fr!world-net!usenet
- From: Frederic LACHASSE <lachass@worldnet.fr>
- Newsgroups: comp.lang.c++
- Subject: Re: C++ Or not ..
- Date: Sat, 24 Feb 1996 19:41:24 +0000
- Organization: World-Net information exchange, Internet provider.
- Message-ID: <VA.0000004a.00027c9e@fred>
- References: <4gcfcj$91g@shelly.inter.net.il>
- Reply-To: lachass@worldnet.fr
- NNTP-Posting-Host: pm6-115.sct.fr
- X-Newsreader: Virtual Access by Ashmount Research Ltd, http://www.ashmount.com
-
- In article <4gcfcj$91g@shelly.inter.net.il>, Dror Riov
- <dror-r@inter.net.il> wrote:
- >
- > Hello ..
- >
- > The best code language i know today is Pascal for Dos ..
- > My question is , sould i pass to C++?
-
- I suppose your choices are C++ vs Delphi (Pascal with lots of OO
- extension and Windows development tools). Short answer is: Delphi is
- easier, faster and completely non-standard, C++ is more powerful and
- quite standard.
-
- > If Yes, will it be C++ for windows or C++ for dos (like Borland
- > C++ For dos) ...
-
- Prepare for 2 (two) big changes:
-
- - migrating from procedural programming language (standard pascal) to
- object oriented programmation (C++ or Delphi),
-
- - jumping from linear programs (DOS) to event-based graphical
- interfaces (Windows).
-
- > Another quesiton ..
- > Can i compile a Windows C++ program in a Dos C++ compiler?
- >
-
- Compilers makes OBJs from sources and linkers EXEs from OBJs. So
- products like Borland C++ 4.5 have:
-
- - A 16 bits DOS extended (C++ compilaters need HUGE amount of memory)
- compiler that creates 16 bits OBJs and a DOS linker that can creates DOS
- and Windows programs.
-
- - The same 16 bits compiler and linker, but as Windows programs.
-
- - A 32 bits DOS DPMI32 compiler with a 32 bits linker to create Win32s
- (i.e. Windows 3.1 with 32 bits extention), Win95 (Windows and console)
- and WinNT (Windows and console) programs.
-
- - The same as Windows 32 bits applications...
-
- Just adding Powerpack extension allows the 16 bits linkers to create DOS
- DPMI programs and the 32 bits linkers 32 bits programs.
-
- So that you can choose any environment you want to compile (DOS or
- Windows) to build whatever executables you need (DOS or Windows).
-
- I'm not sure that'll help you much. The main question is: what do you
- want to do? Then choose the best product to do it.
-
- Frederic LACHASSE (ECP 86)
- CompuServe: 100530,2005
- Internet: lachass@worldnet.fr
-
-